<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    let obj = {
      uname: '刘德华',
      // song: function (x, y)  {
      //   console.log('冰雨')
      //   console.log(x + y)
        
      // }

      song: function () {
        console.log('唱歌')
      },

      dance: function () {
        console.log('跳舞')
      }
    }

    obj.song()
    obj.dance()
    // obj.song(1, 2)
  </script>
</body>
</html>